<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="page-header">
    <div class="header-banner">
        <img src="${pageContext.request.contextPath}/images/header.png" alt="Meeting"/>
    </div>
    <div class="header-title">
        欢迎访问Meeting会议管理系统
    </div>
    <div class="header-quicklink">
        <c:choose>
            <c:when test="${curUser ne null}">
                欢迎您,
                ${curUser.employeeName}
                <c:if test="${curUser.role eq 2}">
                    -管理员
                </c:if>
                <a href="${pageContext.request.contextPath}/logout">[退出]</a>
                <a href="/changepassword">[修改密码]</a>
            </c:when>
            <c:otherwise>
                <a href="/index">[登录]</a>
            </c:otherwise>
        </c:choose>
    </div>
</div>